#include "simulation.h"


SIMULATION::SIMULATION()
{
    car.posX=65;
    car.posY=150;
    car.posTheata=0.0;
    car.speed=5;
}

void SIMULATION::Initialize()
{
    map.LoadMap("track.png");
}

void SIMULATION::RunStep()
{
    car.UpDataPos(map.mapImage);
}
